package com.jpemartin.jgt;


public class MoveVertical implements MoveControl {

    protected int speed;
    
    /** positive speed increases y (i.e. goes down) **/
    public MoveVertical(int verticalSpeed) {
        speed = verticalSpeed;
    }
        
    public void move(java.awt.Rectangle me) {
        me.y += speed;
    }

}